﻿@model ThereAreNoIrreplaceblePeople.Models.Request

@{
    ViewBag.Title = "Reject";
}

<h2>Reject</h2>

<fieldset>
    <legend>Request</legend>

    <div class="display-label">Date</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Date)
    </div>

    <div class="display-label">SenderID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SenderID)
    </div>

    <div class="display-label">ReceiverID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ReceiverID)
    </div>

    <div class="display-label">SubjectName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SubjectName)
    </div>

    @if(!String.IsNullOrEmpty(Model.Message)){
    <div class="display-label">Message</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Message)
    </div>
    }
</fieldset>
<p>
    @Html.ActionLink("Back to List", "Index")
</p>
